<div class="pageContent">
    <form method="post" action="{:url('User/doMember')}" class="pageForm"
          onsubmit="return validateCallback(this, dialogAjaxDone)">
        <div class="pageFormContent" layoutH="58">
            <div class="unit">
                <label>帐号：</label>
                <input type="username" size="20" maxlength="20" readonly="readonly" value="{$username}"/>
            </div>
            <div class="unit">
                <label>邀请码：</label>
                <input type="username" size="20" maxlength="20" readonly="readonly" value="{$invitation_code}"  placeholder="暂无邀请码"/>
            </div>
            <div class="unit">
                <label>姓名：</label>
                <input id="name" type="name" name="name" size="20" maxlength="20" class="required" value="{$name}"/>
            </div>
            <div class="unit">
                <label>性别：</label>
                <input type="radio" name="sex" value="1" {eq name="sex" value="1" }checked="checked" {/eq}/>男
                <input type="radio" name="sex" value="2" {eq name="sex" value="2" }checked="checked" {/eq}/>女
                <input type="radio" name="sex" value="0" {eq name="sex" value="0" }checked="checked" {/eq}/>保密
            </div>
        </div>
        <div class="formBar">
            <ul>
                <input type="hidden" name="user_id" value="{$user_id}">
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">提交</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">取消</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>

